<template>
    <footer>
        Copyright © 2014 todolist.cn
        <a href="javascript:;" @click="emit('clear')">clear</a>
    </footer>
</template>
<script setup>
let emit = defineEmits(['clear'])
</script>
<script>
export default {
    name: "footerCom"
}
</script>
<style scoped>
footer {
    color: #666;
    font-size: 14px;
    text-align: center;
}

footer a {
    color: #666;
    text-decoration: none;
    color: #999;
}
</style>